package com.study.practice.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Properties;

@ConfigurationProperties(prefix = "mytest")
public class MyPropertiesConfig {

    private Properties properties = new Properties();

    public MyPropertiesConfig() {
    }

    public String getTest() {
        return this.properties.getProperty("test");
    }

    public void setTest(String value) {
        this.properties.setProperty("test", value);
    }
}
